package com.example.springcloud.config;

import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Classname Common
 * @Description TODO
 * @Date 2022/3/22 14:25
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Target(value = ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@ComponentScan("com.example.springcloud")
@EnableEurekaClient
public @interface Common {
}
